﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Extensil.Processor
{
    public class InstallResult : List<Exception>
    {
        public static InstallResult Create(Exception exc)
        {
            InstallResult res = new InstallResult();
            res.Add(exc);
            return res;
        }
        public bool IsSuccessFull
        {
            get
            {
                return (this.Count == 0);
            }
        }
    }
}
